from django import forms
from myApp.models import *

class userForm(forms.Form):
    userName=forms.CharField(max_length=50)
    userEmail=forms.CharField(max_length=100)
    userMessage=forms.CharField(max_length=250)

class userRigit(forms.Form):
    xingming=forms.CharField(max_length=20)
    xingbie = forms.CharField(max_length=5)
    nianling= forms.IntegerField()
    xueyuan = forms.CharField(max_length=50)
    zhuanye = forms.CharField(max_length=50)
    dizhi= forms.CharField(max_length=100)
    youxiang = forms.CharField(max_length=100)

class addFuc(forms.Form):
    value1=forms.IntegerField()
    value2=forms.IntegerField()

class mulFuc(forms.Form):
    mul_value1=forms.IntegerField()
    mul_value2=forms.IntegerField()